// CPointSettingDlg.cpp : implementation file
//

#include "stdafx.h"
#include "Lightning.h"
#include "CPointSettingDlg.h"
#include "afxdialogex.h"


// CPointSettingDlg dialog

IMPLEMENT_DYNAMIC(CPointSettingDlg, CDialogEx)

CPointSettingDlg::CPointSettingDlg(CWnd* pParent /*=NULL*/)
	: CDialogEx(CPointSettingDlg::IDD, pParent)
{

}

CPointSettingDlg::~CPointSettingDlg()
{
}

void CPointSettingDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialogEx::DoDataExchange(pDX);
}


BEGIN_MESSAGE_MAP(CPointSettingDlg, CDialogEx)
	ON_WM_CLOSE()
END_MESSAGE_MAP()


// CPointSettingDlg message handlers


void CPointSettingDlg::OnClose()
{
	// TODO: Add your message handler code here and/or call default

	CDialogEx::OnClose();
}


BOOL CPointSettingDlg::OnInitDialog()
{
	CDialogEx::OnInitDialog();

	// TODO:  Add extra initialization here

	return TRUE;  // return TRUE unless you set the focus to a control
	// EXCEPTION: OCX Property Pages should return FALSE
}


BOOL CPointSettingDlg::PreTranslateMessage(MSG* pMsg)
{
	// TODO: Add your specialized code here and/or call the base class
	if (pMsg->message == WM_KEYDOWN)
	{
		if (pMsg->wParam == VK_RETURN)
		{
			return TRUE;
		}
	}
	return CDialogEx::PreTranslateMessage(pMsg);
}
